# $Id: PKGBUILD 87409 2013-03-31 19:18:12Z stephane $
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: Sven Kauber, <celeon@gmail.com>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=encfs
pkgver=1.7.4
pkgrel=10
pkgdesc='Encrypted filesystem in user-space'
arch=('i686' 'x86_64')
url='http://www.arg0.net/encfs'
license=('GPL')
depends=('rlog' 'openssl' 'fuse' 'boost-libs')
makedepends=('boost')
options=('!libtool')
source=("http://encfs.googlecode.com/files/${pkgname}-${pkgver}.tgz")
md5sums=('ac90cc10b2e9fc7e72765de88321d617')

build(){
  cd ${pkgname}-${pkgver}

  ./configure \
    --prefix=/usr

  make
}

package() {
  cd ${pkgname}-${pkgver}

  make DESTDIR=${pkgdir} install
}
